/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 电梯-附件表，电梯一对多附件, 历史表实体类
 *
 * @author ysq
 * @since 2024-06-03
 */
@Data
@TableName("blade_elevator_update_history")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ElevatorUpdateHistory对象", description = "电梯-附件表，电梯一对多附件, 历史表")
public class ElevatorUpdateHistory extends BaseEntity {

	private static final long serialVersionUID = 1L;


	@ApiModelProperty(value = "业务id")
	private Long workId;

	/**
	 * 电梯id
	 */
	@ApiModelProperty(value = "电梯id")
	private Long elevatorId;
	/**
	 * 操作人姓名（冗余）
	 */
	@ApiModelProperty(value = "操作人姓名（冗余）")
	private String updateUsername;
	/**
	 * 字段名
	 */
	@ApiModelProperty(value = "字段名")
	private String fieldName;
	/**
	 * 变更前
	 */
	@ApiModelProperty(value = "变更前")
	private String beforeChange;
	/**
	 * 变更后
	 */
	@ApiModelProperty(value = "变更后")
	private String afterChange;


}
